import { post, get } from '../utils/axios'

// 转米钻
export async function turnMiZuan(data) {
  return post('/api/withdrawal/unionChangeMiZuan', data)
}

export async function unionWithdrawalList(data) {
  return post('/api/withdrawal/unionWithdrawalList', data)
}

export async function unionTurnList(data) {
  return post('/api/getUnionChangeAidouList', data)
}

export async function unionRecordList(data) {
  return post('/api/unionRewardList', data)
}

export async function addBankData(data) {
  return post('/api/withdrawal/addUnionBankInfo', data)
}

export async function editBankInfo(data) {
  return post('/api/withdrawal/editBankInfo', data)
}

export async function getBankList(data) {
  return post('/api/withdrawal/getBankList', data)
}

export async function selectBank(data) {
  return post('/api/withdrawal/unionUseBank', data)
}

export async function deleteBank(data) {
  return post('/api/withdrawal/unionDelBank', data)
}

export async function unionApplyWithdraw(data) {
  return post('/api/withdrawal/unionapplyWithdraw', data)
}
